onSuggestionClick

abstract fun onSuggestionClick(position: Int): Boolean(source)

Called when a suggestion was clicked.

Return

true if the listener handles the event and wants to override the default behavior of launching any intent or submitting a search query specified on that item. Return false otherwise.

Parameters

position

the absolute position of the clicked item in the list of suggestions.